///////////////////////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
#ifndef __FRUSTUM_CULLER_H__
#define __FRUSTUM_CULLER_H__
//-----------------------------------------------------------------------------

#include <Config.h>
#include <Scene/Culling/Culler.h>
#include <Math/Matrix4x4.h>

class	Object;
class	Frustum;

//-----------------------------------------------------------------------------

class	FrustumCuller
	:	public	Culler
{
public:
						FrustumCuller();
	virtual				~FrustumCuller();

	virtual	void		Update( SceneManager* scene );

	virtual bool		ShouldDrawObject( Object *obj );

private:

	Frustum*			m_frustum;
	Matrix4x4			m_camView;

};

#endif	//	__FRUSTUM_CULLER_H__
//-----------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
